﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;

namespace AimGameEngine.EditorObject
{
    partial class PropretyRename : Form
    {
        NodeObject mynode;
        public PropretyRename(NodeObject mynode)
        {
            InitializeComponent();
            this.mynode = mynode;
            this.maskedTextBox1.Text = this.mynode.MyViewData.Name;
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            this.mynode.MyViewData.Name = this.maskedTextBox1.Text;
        }

    }
}
